#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.61)
AC_INIT(ppptl, 0.0.1, freevalley@gmail.com)
AC_CONFIG_SRCDIR([src/ppptl.cpp])
AC_CONFIG_HEADER([config.h])

# Checks for programs.
AC_PROG_CXX
AM_INIT_AUTOMAKE

# Checks for libraries.
PKG_CHECK_MODULES(gtkmm2,gtkmm-2.4 >= 2.6)
AC_SUBST(gtkmm2_CFLAGS)
AC_SUBST(gtkmm2_LIBS)

PKG_CHECK_MODULES(libpqxx2,libpqxx >= 2.0)
AC_SUBST(libpqxx2_CFLAGS)
AC_SUBST(libpqxx2_LIBS)

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_HEADER_STDBOOL

# Checks for library functions.

AC_CONFIG_FILES([
Makefile
src/Makefile])
AC_OUTPUT
